<!DOCTYPE html>
<html>
    <head>
        <title>Comp Tec Brasil Informática</title>
        <%= stylesheet_link_tag    "bootstrap" %>
        <%= stylesheet_link_tag    "bootstrap-responsive" %>
        <%= stylesheet_link_tag    "style" %>
        <%= stylesheet_link_tag    "jquery-ui" %>

        <%= javascript_include_tag "application" %>

        <%= csrf_meta_tags %>
    </head>
    <body class="container-fluid">

        <header class="row-fluid">
            <div class="span2">
                <a href="/homes"><%= image_tag 'logo.jpg' %></a>
            </div>
            <!-- TODO CORRIGIR O MENU, QUE AO REDIMENSIONAR SE ESCONDE ATRÁS DO LOGO.  -->
            <div class="span10">
                <nav class="navbar">
                    <div class="navbar-inner">
                        <div class="container-fluid">
                            <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>

                            <div id="findContent">
                                <input type="text" placeholder="Faça sua busca" />
                                <input type="submit" value="BUSCAR">
                            </div>
                            <div class="nav-collapse collapse">
                                <%= get_menu_topo %>
                            </div>
                        </div>
                    </div>

                </nav>
            </div>
        </header>

        <div id="content" class="row-fluid">
            <%= yield %>
        </div>


        <div class="row-fluid">
            <div class="span12">
                <footer class="borda">
                    <p>
                        COMP TEC BRASIL INFORMÁTICA
                    </p>
                    <p>
                        Endereço:  Av. Francisco José de Camargo Andrade, 970 - Castelo - Campinas - SP - Tel. (19) 3242-6404
                    </p>
                </footer>
            </div>
        </div>

        <script><%= yield :js %></script>

    </body>
</html>